import layout from '@/layout'
// 导出一个对象 这个对象里就是对应的路由模块
export default {
  path: '/employees',
  name: 'employees',
  component: layout,
  children: [
    {
      path: '',
      name: 'employees',
      component: () => import('@/views/employees'),
      meta: { title: '员工', icon: 'people' }
    },
    {
      path: 'detail',
      component: () => import('@/views/employees/detail.vue'),
      hidden: true,
      meta: { title: '员工详情' }
    },
    {
      path: 'print',
      component: () => import('@/views/employees/print.vue'),
      hidden: true,
      meta: {
        title: '打印'
      }
    }
  ]
}
